/*******************************************************************************
 * Copyright © 2010 Hewlett-Packard Development Company, L.P.
 *            All rights reserved.
 ******************************************************************************/

package com.tnl.domain.enums;
/**
 * the role enum
 * 
 * @author haigang
 */
public enum RoleEnums {

	MGR("MGR", "The role of manager"),
	STAFF("Staff", "The role of staff"),
	ADMIN("Admin", "The role of admin"),
	SUPPORTOR("Supportor", "The role of supportor"),
	TEMP("Temp", "The role of temp");
	
	private String name;
	private String desc;

	RoleEnums(String name, String description) {
		this.name = name;
		this.desc = description;
	}



	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}



	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}



	@Override
	public String toString() {
		return name + ". " + desc;
	}

}
